package cc.iotkit.plugins.soulcall.parse;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * 数据包
 *
 * @author sjg
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class DataPackage {

    private String deviceId;

    /**
     * 告警
     */
    private String alarm;

    /**
     * 通知
     */
    private String event;

    /**
     * 告警级别
     */
    private int lv;

    /**
     * 时间
     */
    private String begin_time;

    /**
     * 数据映射
     */
    private Map<String,Object> dataMap;



}
